import http from '@/utils/http.ts'

/**
 * 获取登录用户信息
 */
export const getUserInfo = (data: any) =>
  http.post('/drone-event-aggregate', data)

/**
 * 登录 获取短期的accessToken 和 长期的refreshToken
 */
export const Login = (data: { name: string; password: string }) =>
  http.post('/login/jwt', data)


